<template>
    <web-view :src="goto_url" v-if="goto_url"></web-view>
    <view v-else-if="see_url" class="content">
        <text style="font-size: 80%; color: #007AFF;">由于小程序限制,请手动复制如下内容进行访问:</text>
        <!-- <text>{{see_url}}</text> -->
        <rich-text class="" :nodes="see_url"></rich-text>
    </view>
    <text v-else>no thing!</text>
</template>

<script>
    export default {
        data() {
            return {
                goto_url: null,
                see_url: null,
            };
        },
        onLoad: function(e) {
            console.log(e)
            this.goto_url = e.goto;
            this.see_url = e.see;
        }
    }
</script>

<style lang="scss">
    .content {
        padding: 30upx;
        display: flex;
        flex-direction: column;
        line-height: 1.6rem;
    }
</style>
